entry-completion: set size request on the toplevel window
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 27 Mar 2012 18:23:48 +0000 (14:23 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 4 May 2012 19:43:29 +0000 (15:43 -0400)
commit5a8e2b599568938bdef45ef2c3b7e7634211dc9b
treea86e6442727b037556132981263727e510cfc1e9
parent644070b55179f7fa72b386e60d229646f93ad9a4
entry-completion: set size request on the toplevel window

Instead of setting it on the child scrolled window. This is needed
because the whole window's allocation must be equal to the one of the
entry (in case the popup-set-width property is TRUE); if we set the size
request on a children of the window, there might be other children with
borders/paddings in between the toplevel and the child we set the size
request too, which will break alignment.

https://bugzilla.gnome.org/show_bug.cgi?id=672947
gtk/gtkentrycompletion.c